module ManageHookFloat where

import XMonad
    ( (-->), (=?), className, composeAll, doFloat, doIgnore, stringProperty )
import XMonad.Hooks.ManageHelpers ( doCenterFloat, isDialog )

myManageHook = composeAll
  [ className =? "Pavucontrol"          --> doCenterFloat
  , className =? "Qalculate-gtk"        --> doCenterFloat
  , className =? "Blueman-manager"      --> doCenterFloat
  , className =? ".blueman-manager-wrapped" --> doCenterFloat
  , className =? "mpv"                  --> doCenterFloat
  , className =? "zenity"               --> doCenterFloat
  , className =? ".zenity-wrapped"      --> doCenterFloat
  , className =? "confirm"              --> doCenterFloat
  , className =? "download"             --> doCenterFloat
  , className =? "error"                --> doCenterFloat
  , className =? "Dragon"               --> doCenterFloat
  , className =? "Nitrogen"             --> doCenterFloat
  , className =? "SimpleScreenRecorder" --> doCenterFloat
  , className =? "ksnip"                --> doCenterFloat
  , className =? "KeePassXC"            --> doCenterFloat
  , className =? "spectacle"            --> doCenterFloat
  , className =? "steam_app_22330"      --> doCenterFloat
  , className =? "feh"                  --> doCenterFloat
  , className =? "Pcmanfm"              --> doCenterFloat
  , className =? "Gpick"                --> doCenterFloat
  , className =? "endow-gui"            --> doCenterFloat
  , className =? "G3N Application"      --> doCenterFloat
  , className =? "loGOut"               --> doCenterFloat
  , isDialog --> doCenterFloat
  , stringProperty "WM_WINDOW_ROLE" =? "pop-up" --> doFloat
  ]
